package com.snailhd;

import com.snailhd.crawler.CrawlStockListExector;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author hd
 * @description
 * @date 2019-10-07 22:38
 */

@RunWith(SpringRunner.class)
@SpringBootTest
public class CrawlStockListBootstrap {

    @Autowired
    CrawlStockListExector crawler;

    @Test
	public void contextLoads() throws Exception {
//        crawler.exec("sh_a");
//        crawler.exec("hs_a");
	}
}
